<template>
  <el-select
    :value="value"
    @input="handleInput"
  >
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value"
    />
  </el-select>
</template>

<script>
export default {
  name: 'AcademyLevel',
  props: {
    value: {
      type: [String, Number],
      required: true
    },
    options: {
      type: [Array],
      required: true
    }
  },
  methods: {
    handleInput(value) {
      this.$emit('input', value)
    }
  }
}
</script>

<style scoped>

</style>
